Improve the docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 Nov 2017 03:52:44 +0000 (22:52 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Nov 2017 03:52:44 +0000 (22:52 -0500)
Document that gtk_application_is_inhibited can't
be guaranteed to work.

gtk/gtkapplication.c

index f7bd5b5b09c36534d7be896da34d9502209f88d9..39a49638c974405724399f6f5381377f4103c5ba 100644 (file)
@@ -1158,6 +1158,9 @@ gtk_application_uninhibit (GtkApplication *application,
  * Determines if any of the actions specified in @flags are
  * currently inhibited (possibly by another application).
  *
+ * Note that this information may not be available (for example
+ * when the application is running in a sandbox).
+ *
  * Returns: %TRUE if any of the actions specified in @flags are inhibited
  *
  * Since: 3.4